package cn.itcast.hotel;

import cn.itcast.hotel.pojo.Hotel;
import cn.itcast.hotel.service.IHotelService;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;


@SpringBootTest
class HotelDemoApplicationTests {


      @Autowired
    private IHotelService iHotelService;

      @Test
      void findAll(){
          Hotel byId = iHotelService.getById(39141L);
          System.out.println(byId);
      }


}
